/**
 * auth
 */

import http from '@/common/http'
import { PROXY_KEY } from "@/common/config"

export default {
  // 登录
  login(data: any): Promise<any> {
    // @ts-ignore
    return http.post(PROXY_KEY+ '/account/login', data || {})
  }
}
